<?php
	$code = strtoupper($_POST['data']);//AJAX  来的验证码
	session_start();
	echo $code ===$_SESSION['code']?1:0;
?>